package com.link.base.base.dept.model;

import com.link.core.basic.model.BasicModel;

import java.util.List;
/**
 * Copyright  hande Company. All Rights Reserved.
 *
 * @author  unknwon
 * @date:   2018/11/9 16:11
 * @version 1.0
 */

public class Department extends BasicModel {

    private String deptCode;
    /**
     * 树节点显示名称
     */
    private String text;
    private String deptType;
    private String deptTypeLovType;
    private Long parentDeptId;
    private String parentDeptName;
    private Long orgId;
    private String orgName;
    private String isEffective;
    private String isEffectiveLovType;
    /**
     * 组织标记
     */
    private String isOrg;
    /**
     * 数据来源
     */
    private String source;
    /**
     * 本系统中部门ID
     */
    private Long crmId;

    /**父部门集成Id */
    private String parentIntegrationId;
    /**组织集成ID */
    private String orgIntegrationId;

    private List<Department> children;


    public Long getCrmId() {
        return crmId;
    }

    public void setCrmId(Long crmId) {
        this.crmId = crmId;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getDeptCode() {
        return deptCode;
    }

    public void setDeptCode(String deptCode) {
        this.deptCode = deptCode;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getDeptType() {
        return deptType;
    }

    public void setDeptType(String deptType) {
        this.deptType = deptType;
    }

    public Long getParentDeptId() {
        return parentDeptId;
    }

    public void setParentDeptId(Long parentDeptId) {
        this.parentDeptId = parentDeptId;
    }

    public String getParentDeptName() {
        return parentDeptName;
    }

    public void setParentDeptName(String parentDeptName) {
        this.parentDeptName = parentDeptName;
    }

    @Override
    public Long getOrgId() {
        return orgId;
    }

    @Override
    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    @Override
    public String getOrgName() {
        return orgName;
    }

    @Override
    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getIsEffective() {
        return isEffective;
    }

    public void setIsEffective(String isEffective) {
        this.isEffective = isEffective;
    }

    public List<Department> getChildren() {
        return children;
    }

    public void setChildren(List<Department> children) {
        this.children = children;
    }

    public String getDeptTypeLovType() {
        return deptTypeLovType;
    }

    public void setDeptTypeLovType(String deptTypeLovType) {
        this.deptTypeLovType = deptTypeLovType;
    }

    public String getIsEffectiveLovType() {
        return isEffectiveLovType;
    }

    public void setIsEffectiveLovType(String isEffectiveLovType) {
        this.isEffectiveLovType = isEffectiveLovType;
    }

    public String getIsOrg() {
        return isOrg;
    }

    public void setIsOrg(String isOrg) {
        this.isOrg = isOrg;
    }

    public String getParentIntegrationId() {
        return parentIntegrationId;
    }

    public void setParentIntegrationId(String parentIntegrationId) {
        this.parentIntegrationId = parentIntegrationId;
    }

    public String getOrgIntegrationId() {
        return orgIntegrationId;
    }

    public void setOrgIntegrationId(String orgIntegrationId) {
        this.orgIntegrationId = orgIntegrationId;
    }
}
